<%@taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":"
			+ request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML xmlns="http://www.w3.org/1999/xhtml">
	<HEAD>
		<TITLE></TITLE>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<base href="<%=basePath%>" />

		<LINK href="theme/Standard.css" type=text/css rel=stylesheet />
		<script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
		<script src="js/plugin/jquery-ui-1.8.1.custom.min.js"
			type="text/javascript"></script>
		<META content="MSHTML 6.00.2900.5921" name=GENERATOR>
<style type="text/css">
<!--
BODY {
	FONT-SIZE: 12px;
	COLOR: #ffffff;
	FONT-FAMILY: 宋体;
	background: #C0BFDD
}

TD {
	FONT-SIZE: 12px;
	COLOR: #ffffff;
	FONT-FAMILY: 宋体
}

div.error {
	display: block;
	margin-left: 1em;
	width: auto;
	color: red;
}

.actionMessage li {
	display: block;
	margin-left: 1em;
	width: auto;
	color: red;
	list-style: none;
}

.errorMessage li {
	display: block;
	margin-left: 1em;
	width: auto;
	color: red;
	list-style: none;
}
-->
</style>
	</HEAD>
	<BODY >

		<s:form action="login" method="post" id="form" theme="simple"
			namespace="/">
			<DIV id=UpdatePanel1>
				<DIV id=div1
					style="LEFT: 0px; POSITION: absolute; TOP: 0px; BACKGROUND-COLOR: #0066ff"></DIV>
				<DIV id=div2
					style="LEFT: 0px; POSITION: absolute; TOP: 0px; BACKGROUND-COLOR: #0066ff"></DIV>


				<DIV>
					&nbsp;&nbsp;
				</DIV>
				<DIV>
					<TABLE cellSpacing=0 cellPadding=0 width=900 align=center border=0>
						<TBODY>
							<TR>
								<TD style="HEIGHT: 105px">
									<IMG src="theme/images/login/login_1.gif" border=0>
								</TD>
							</TR>
							<TR>
								<TD background=theme/images/login/login_2.jpg height=300>
									<TABLE height=300 cellPadding=0 width=900 border=0>
										<TBODY>
											<TR>
												<TD colSpan=2 height=35></TD>
											</TR>
											<TR>
												<TD width=360></TD>
												<TD>
													<TABLE cellSpacing=0 cellPadding=2 border=0>
														<TBODY>
															<TR>
																<TD style="HEIGHT: 28px" width=80>
																	登 录 名：
																</TD>
																<TD style="HEIGHT: 28px" width=150>
																	<INPUT style="WIDTH: 130px" name=loginName>
																</TD>
																<TD style="HEIGHT: 28px" width=370>
																	<SPAN id=RequiredFieldValidator3
																		style="FONT-WEIGHT: bold; VISIBILITY: hidden; COLOR: white">请输入登录名</SPAN>
																</TD>
															</TR>
															<TR>
																<TD style="HEIGHT: 28px">
																	登录密码：
																</TD>
																<TD style="HEIGHT: 28px">
																	<INPUT  style="WIDTH: 130px" type=password
																		name=loginPassword>
																</TD>
																<TD style="HEIGHT: 28px">
																	<SPAN id=RequiredFieldValidator4
																		style="FONT-WEIGHT: bold; VISIBILITY: hidden; COLOR: white">请输入密码</SPAN>
																</TD>
															</TR>
															<TR>
																<TD style="HEIGHT: 18px"></TD>
																<TD style="HEIGHT: 18px"></TD>
																<TD style="HEIGHT: 18px"></TD>
															</TR>
															<TR>
																<TD></TD>
																<TD>
																	<img
																		src="theme/images/login/login_button.gif" style="cursor: pointer;" name=btn onclick="$('#form').submit()"/>
																</TD>
															</TR>
														</TBODY>
													</TABLE>
												</TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
							</TR>
							<TR>
								<TD>
									<IMG src="theme/images/login/login_3.jpg" border=0>
								</TD>
							</TR>
						</TBODY>
					</TABLE>
				</DIV>
			</DIV>
		</s:form>
	</BODY>
</HTML>
<script type="text/javascript">
		$(document).ready(function(){

			if(window.name!=""&&parent.location!='<%=basePath%>'){
				parent.location.replace("/ty/");
				if(parent.parent&&parent.parent.parent.location!='<%=basePath%>'){
					parent.parent.location.replace("/ty/");
				}
			}

		}); 

</script>